@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;700&display=swap');

.case-study {
  font-size: 16px;
  word-spacing: 2px;
}

.case-study * {
  font-family: 'Montserrat', 'Lato', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

.case-study .green {
  background: #189b4a;
  color: white;
}

.case-study .purple {
  background: #9c2787;
}

.case-study .purple * {
  color: #ffffff;
}

.case-study h1 {
  font-size: 2em;
  margin-bottom: 0.5em;
  font-weight: 700;
}

.case-study h2 {
  font-size: 1.5em;
  font-weight: 300;
  font-style: italic;
}

.case-study h3 {
  font-size: 1em;
}

.case-study .inner-banner .banner-content {
  min-height: 350px;
}

.case-study .inner-banner .wrapper {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.case-study .inner-banner .banner-content img {
  width: 250px;
  height: auto;
  position: unset;
  min-width: unset;
  min-height: unset;
  margin: 0 0 1em 0;
}

.top-green-line {
  position: relative;
}

.top-green-line::after {
  background: #189b4a;
  content: '';
  height: 58px;
  left: 50%;
  margin-left: -1px;
  position: absolute;
  width: 2px;
  z-index: 3;
  top: 0;
  display: none;
}

.no-wrap {
	flex-flow: nowrap !important;
}

.grow-1 {
	flex-grow: 1 !important;
    max-width: 33% !important;
}

.grow-2 {
	flex-grow: 2 !important;
    max-width: 66% !important;
} 

@media only screen and (max-width: 768px) {
	.no-wrap {
    	flex-flow: row wrap !important;
    }
    .grow-1 {
    	max-width: 100% !important;
    }
    .grow-2 {
    	max-width: 100% !important;
    }
}

.content.grid-wrapper {
  display: flex;
  flex-flow: row wrap;
  justify-content: center;
  width: 100%;
  margin-top: 2em;
  margin-botom: 2em;
}

.grid-content {
  width: 100%;
  flex-grow: 1;
  margin-bottom: 1em;
}

.grid-content h3 {
  color: #9c2787;
}

.grid-content p {
  line-height: 2;
  color: #707070;
}

.grid-content p span {
  color: #189b4a;
}

.grid-content i {
  font-style: italic;
}

.green * {
  color: #ffffff;
}

.full-width-content {
  padding-top: 3em;
  padding-bottom: 3em;
}

/////
.full-width-content.with-image {
  padding-top: 3em;
  padding-bottom: 3em;
}

.full-width-content.with-image h3 {
  margin-top: 8%;
}

.full-width-content.with-image p:first-child {
  display: flex;
  justify-content: center;
  padding-top: 1em;
}

.full-width-content p {
  line-height: 2;
}

.full-width-content p:last-child {
  margin-bottom: 0;
}

.full-width-content.bottom-white-line::after {
  display: none;
}

.main-content {
  line-height: 2;
}

.main-content h2 {
  color: #9c2787;
  font-style: normal;
  position: relative;
  margin-bottom: 3em;
  margin-top: 2em;
  text-align: center;
  font-size: 1.25em;
  font-weight: 500;
}

.main-content h2::after {
  content: '';
  width: 100px;
  height: 2px;
  left: calc(50% - 50px);
  z-index: 100;
  background-color: #9c2787;
  position: absolute;
  bottom: -1em;
}

.main-content h3 {
  font-size: 1.5em;
  color: #189b4a;
  text-align: center;
  margin-bottom: 2em;
  font-weight: 700;
}

.main-content ul {
  margin-top: 3em;
}

.main-content li {
  padding-left: 10px;
  margin-bottom: 1.5em;
}

.main-content 

.main-content li::before {
  font-size: 16px;
}

.case-study .case-study-results {
  color: #606060;
  padding-top: 4em;
  padding-bottom: 0;
}

.case-study .case-study-results h3 {
  color: #00b76a;
  margin-bottom: 1.5em;
}

.case-study .case-study-results .grid-content {
  border: 3px solid #9c2787;
  height: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.case-study .case-study-results .value {
  margin-bottom: 0;
  color: #1fb76a;
  font-size: 2em;
  font-weight: 700;
  line-height: 1;
}

.case-study .case-study-results .label {
  color: #606060;
  font-weight: 500;
}

.case-study footer {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.case-study footer a {
  height: 62px;
  width: 300px;
  background-color: #189b4a;
  color: white;
  border: 2px solid #ffffff;
  border-radius: 42px;
  cursor: pointer;
  transition: all 250ms ease-out;
  font-size: 1em;
  margin-top: 2em;
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
}


.main-content img {
  max-width: 100%;
}

.case-study footer a:hover {
  background: #fff;
  color: #189b4a;
  border: 2px solid #189b4a;
  border-radius: 42px;
}

.case-study footer h2 {
  font-style: normal;
  font-weight: 500;
  font-size: 1.5em;
}

@media only screen and (min-width: 768px) {
  .content.grid-wrapper {
    margin-top: 4em;
  }

  .top-green-line::after {
    display: block;
  }

  .full-width-content.bottom-white-line::after {
    display: block;
  }

  .full-width-content {
    padding-top: 5em;
    padding-bottom: 5em;
  }

  .full-width-content.with-image {
    <!--padding-bottom: 0; -->
  }

  .full-width-content img,
  .main-content img {
    float: right;
    padding: 1em;
  }

  .full-width-content.with-image p:first-child {
    display: block;
    padding-top: 0;
  }

  .main-content h3 {
    font-size: 2em;
  }
}

@media only screen and (min-width: 900px) {
  .content.grid-wrapper {
    justify-content: space-between;
  }

  .grid-content {
    max-width: 300px;
  }

  .full-width-content {
    padding-top: 6.5em;
    padding-bottom: 6.5em;
  }

  .main-content h3 {
    font-size: 2em;
  }

  .main-content img {
    margin-left: 4em;
  }
}